namespace KPIS.GERP.Models.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class update0089 : DbMigration
    {
        public override void Up()
        {
            DropForeignKey("dbo.SysTaskHistory", "CurrentApproverEmpId", "dbo.hrm_ps_employees");
            DropIndex("dbo.SysTaskHistory", new[] { "CurrentApproverEmpId" });
            DropColumn("dbo.SysTaskHistory", "CurrentApproverEmpId");
        }
        
        public override void Down()
        {
            AddColumn("dbo.SysTaskHistory", "CurrentApproverEmpId", c => c.Int());
            CreateIndex("dbo.SysTaskHistory", "CurrentApproverEmpId");
            AddForeignKey("dbo.SysTaskHistory", "CurrentApproverEmpId", "dbo.hrm_ps_employees", "emp_seq");
        }
    }
}
